export enum AuthCode {
  // 部门
  departmentSearch = 'department:list',
  departmentAdd = 'department:create',
  departmentUpdate = 'department:update',
  departmentDestroy = 'department:destroy',
  departmentExport = 'department:export',
  departmentImport = 'department:import',

  permissionSearch = 'permission:list',
  permissionAdd = 'permission:create',
  permissionUpdate = 'permission:update',
  permissionDestroy = 'permission:destroy',
  permissionExport = 'permission:export',
  permissionImport = 'permission:import',

  roleSearch = 'role:list',
  roleAdd = 'role:create',
  roleUpdate = 'role:update',
  roleDestroy = 'role:destroy',
  roleExport = 'role:export',
  roleImport = 'role:import',
  roleAssign = 'role:permissions',

  userSearch = 'user:list',
  userAdd = 'user:create',
  userUpdate = 'user:update',
  userDestroy = 'user:destroy',
  userExport = 'user:export',
  userImport = 'user:import',
  userAssignRole = 'user:assign_role', // 分配角色
}
